package com.itchu.system.domain;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "singer")
public class Singer {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private String name;

    private Character sex;

    private String avator;

    private String location;

    private String introduction;

    private Date birthday;

    private Date createTime;

    private Date updateTime;
}
